package com.example.chain.component;

import com.example.chain.dto.DecisionResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 数量场景的判断
 *
 * @author shixiaodong
 * @date 2022-05-26
 */
@Component("quantity")
@Slf4j
public class QuantityDecision extends IDecision {

    @Override
    public void makeDecision(DecisionResult decisionResult) {
        log.info("===执行数量场景判断");
        super.doNext(decisionResult);
    }
}
